package com.ruoyi.medical.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 工单操作日志对象 meioms_work_order_log
 * 
 * @author ruoyi
 * @date 2025-12-03
 */
@TableName("meioms_work_order_log")
public class MeiomsWorkOrderLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志ID */
    @TableId
    private Long logId;

    /** 工单ID */
    @Excel(name = "工单ID")
    private Long workOrderId;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private String operationType;

    /** 操作内容 */
    @Excel(name = "操作内容")
    private String operationContent;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operator;

    /** 操作时间 */
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date operateTime;

    public void setLogId(Long logId)
    {
        this.logId = logId;
    }

    public Long getLogId()
    {
        return logId;
    }
    public void setWorkOrderId(Long workOrderId)
    {
        this.workOrderId = workOrderId;
    }

    public Long getWorkOrderId()
    {
        return workOrderId;
    }
    public void setOperationType(String operationType)
    {
        this.operationType = operationType;
    }

    public String getOperationType()
    {
        return operationType;
    }
    public void setOperationContent(String operationContent)
    {
        this.operationContent = operationContent;
    }

    public String getOperationContent()
    {
        return operationContent;
    }
    public void setOperator(String operator)
    {
        this.operator = operator;
    }

    public String getOperator()
    {
        return operator;
    }
    public void setOperateTime(Date operateTime)
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime()
    {
        return operateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("logId", getLogId())
            .append("workOrderId", getWorkOrderId())
            .append("operationType", getOperationType())
            .append("operationContent", getOperationContent())
            .append("operator", getOperator())
            .append("operateTime", getOperateTime())
            .toString();
    }
}
